projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72a809b
)
printing: Another tweak to sheet drawing
author
Matthias Clasen
<mclasen@redhat.com>
Sat, 4 Oct 2014 15:56:44 +0000
(11:56 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Sat, 4 Oct 2014 15:56:44 +0000
(11:56 -0400)
After consultation, revisit the vertical centering to center
the first 'stack', and put the second one behind it.
gtk/gtkprintunixdialog.c
patch
|
blob
|
history
diff --git
a/gtk/gtkprintunixdialog.c
b/gtk/gtkprintunixdialog.c
index fe62c2d775f33186e32c7d2e1f411252f70991e9..af10acb291b2df442f341d2d71a1dd06d9e1de48 100644
(file)
--- a/
gtk/gtkprintunixdialog.c
+++ b/
gtk/gtkprintunixdialog.c
@@
-2244,12
+2244,12
@@
draw_collate_cb (GtkWidget *widget,
rtl = (gtk_widget_get_direction (GTK_WIDGET (widget)) == GTK_TEXT_DIR_RTL);
- x = (gtk_widget_get_allocated_width (widget) -
66
) / 2;
+ x = (gtk_widget_get_allocated_width (widget) -
30
) / 2;
y = (gtk_widget_get_allocated_height (widget) - 36) / 2;
if (rtl)
{
- x1 = x
+ 36
;
- x2 = x;
+ x1 = x;
+ x2 = x
- 36
;
p1 = 0;
p2 = 10;
text_x = 4;